#include "vector.h"
int main() {
	/*vector<int> nums;
	nums.push_back(1);
	nums.push_back(2);
	nums.push_back(3);
	nums.push_back(4);
	nums.pop_back();
	nums.emplace_back(5);
	nums.reserve(10);
	nums.emplace(nums.begin(), 8);
	nums.resize(7, 10);
	nums.erase(nums.end() - 1);
	nums.erase(nums.begin(), nums.begin() + 2);
	nums.erase(nums.begin() - 1, nums.begin() + 2);
	nums.erase(nums.begin(), nums.end());
	nums.erase(nums.begin(), nums.end() + 1);
	printf("nums = ");
	for (auto it = nums.begin(); it != nums.end(); it++) {
		printf("%d ", *it);
	}
	printf("\n");
	printf("nums.size = %d\n", nums.size());
	printf("*nums.begin = %d\n", *nums.begin());
	printf("*nums.rbegin = %d\n", *nums.rbegin());
	printf("*nums.rend = %d\n", *(nums.rend() + 1));
	printf("nums[1] = %d\n", nums[1]);
	printf("nums[2] = %d\n", * (nums.data() + 2));
	printf("nums[3] = %d\n", nums.at(3));
	printf("nums.empty = %d\n", nums.empty());
	printf("nums.front = %d\n", nums.front());
	printf("nums.back = %d\n", nums.back());
	printf("*nums.end = %d\n", *(nums.end() - 1));
	printf("nums.size = %d\n", nums.size());
	printf("nums.capacity = %d\n", nums.capacity());
	printf("nums.end - nums.begin = %d\n", nums.end() - nums.begin());
	vector<int> nums1(nums);
	printf("nums1.size() = %d\n", nums1.size());
	vector<int> nums2(std::move(nums));
	printf("nums2.size() = %d\n", nums2.size());
	printf("nums.size() = %d\n", nums.size());
	vector<int> nums3 = nums;
	printf("nums3.size() = %d\n", nums3.size());
	vector<int> nums4(std::move(nums));
	printf("nums4.size() = %d\n", nums4.size());
	printf("nums.size() = %d\n", nums.size());
	nums.clear();
	printf("nums.size() = %d\n", nums.size());*/
	return 0;
}